package com.icloud.article.boot.dto;

import com.icloud.common.core.constant.ValidateConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Getter
@Setter
public class ArticleSettingsUpdateDto {
    @ApiModelProperty("主键id")
    @NotNull(message = ValidateConstant.NOT_NULL)
    private Long id;

    @ApiModelProperty("一条动态正文的最大字数")
    private Integer maxWords;
    @ApiModelProperty("发布奖励,1日1次")
    private Integer publishReward;
    @ApiModelProperty("一条动态可发布图片数量上限")
    private Integer imgCount;
    @ApiModelProperty("一个图片文件大小上限(M)")
    private Integer imgMax;
    @ApiModelProperty("一条动态可发布视频数量上限")
    private Integer videoCount;
    @ApiModelProperty("一个视频文件大小上限(M)")
    private Integer videoMax;
    @ApiModelProperty("是否开启敏感词 TRUE,FALSE")
    private String sensitiveWords;
}
